﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soft.Service
{
    public enum JobServiceMode
    {
        /// <summary>
        /// 调用实例化
        /// </summary>
        [Description("调用时实例化")]
        Dynamic,

        /// <summary>
        /// 单利
        /// </summary>
        [Description("常驻内存")]
        Resident,

        /// <summary>
        /// 作为服务的方式运行
        /// </summary>
        [Description("作为服务方式运行")]
        Service,

        /// <summary>
        /// 作为定时任务运行
        /// </summary>
        [Description("作为定时任务运行")]
        TimedTask
    }
}
